﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Structural
{
    class ConcreteBuilder2:Builder
    {
        public ConcreteBuilder2()
        {
            ProductObject = new Product();
        }

        public override void BuilderPartA()
        {
            ProductObject.Add("partA2");
        }

        public override void BuilderPartB()
        {
            ProductObject.Add("partB2");
        }

        public override Product GetResult()
        {
            return ProductObject;
        }
    }
}
